﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!--header start-->
<div class="header">
	<!--reg and login start-->
	<div class="reglogin">
		<ul>
			<c:if test="${not empty userInfo}">
				<li><a href="javascript:void(0);">${userInfo.nickName}</a></li>
				<li>/</li>
				<li><a href="/logout">退出</a></li>
			</c:if>
			<c:if test="${empty userInfo}">
				<li><a href="/reglogin">登录</a></li>
				<li>/</li>
				<li><a href="/reglogin">注册</a></li>
			</c:if>
			<li class="weibo"><a href="#">关注微博</a></li>
		</ul>
	</div>
	<!--reg and login end-->
	<!--logo start-->
	<h1 class="logo">
		top
	</h1>
	<!--logo end-->
</div>
<!--header end-->
<!--nav start-->
<h2 class="nav">
	
</h2>
<!--nav end-->